package com.apesource.bookBuy.bean;

/**
 * @version 1.0
 * @auther:暮雪
 * @date:2025/9/5
 */
public class User {
    private int uid;
    private String username;
    private String userpassword;
    private String useremail;

    public User() {
    }

    public User(int uid, String username, String userpassword, String useremail) {
        this.uid = uid;
        this.username = username;
        this.userpassword = userpassword;
        this.useremail = useremail;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", useremail='" + useremail + '\'' +
                '}';
    }
}
